#include "qdevicecore.h"

#include "qprojecthost.h"
#include "qlanguagemanager.h"
#include "qusermanager.h"

QDeviceCore::QDeviceCore(QObject *parent) :
    QObject(parent),
    m_project_host(new QProjectHost),
    m_language_manager(new QLanguageManager),
    m_user_manager(new QUserManager)
{
    m_project_host->init();
}

QDeviceCore::~QDeviceCore()
{
    delete m_project_host;
    delete m_language_manager;
    delete m_user_manager;
}

QProjectHost* QDeviceCore::projecthost()
{
    return m_project_host;
}

QLanguageManager* QDeviceCore::language_manager()
{
    return m_language_manager;
}

QUserManager* QDeviceCore::user_manager()
{
    return m_user_manager;
}
